package com.fishing.service.websocket;

import org.springframework.web.socket.WebSocketSession;

public class SessionEntity {
	private String sessionId;
	private int gameId;
	private int roomId;
	private Long userId;
	private WebSocketSession webSocketSession;
	
	public SessionEntity() {
		
	}
	
	public SessionEntity(int gameId, int roomId, Long userId, WebSocketSession webSocketSession) {
		this.gameId = gameId;
		this.roomId = roomId;
		this.userId = userId;
		this.webSocketSession = webSocketSession;
	}
	

	public SessionEntity(String sessionId, int gameId, int roomId, Long userId, WebSocketSession webSocketSession) {
		this.sessionId = sessionId;
		this.gameId = gameId;
		this.roomId = roomId;
		this.userId = userId;
		this.webSocketSession = webSocketSession;
	}
	
	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public int getGameId() {
		return gameId;
	}
	public void setGameId(int gameId) {
		this.gameId = gameId;
	}
	public int getRoomId() {
		return roomId;
	}
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public WebSocketSession getWebSocketSession() {
		return webSocketSession;
	}
	public void setWebSocketSession(WebSocketSession webSocketSession) {
		this.webSocketSession = webSocketSession;
	}
	
	
	

}
